package com.war.service.system;

import com.war.pojo.system.Buyer;
import com.war.pojo.system.Warehouse;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;

@Service
public interface BuyerService {
    public HashMap<String,Object> selectAll();
    public List<Buyer> selectName();

    //按条件查询仓库
    HashMap<String, Object> select(Buyer buyer);

    //删除仓库
    String delBuy(Buyer buyer);

    //查找
    Buyer selectByid(Buyer buyer);

    //添加
    String addBuy(Buyer buyer);

    //修改用户信息
    String editBuy(Buyer buyer);

}
